#if !defined(AFX_LAYPARAMPAGE_H__EC813319_E2E5_4802_BC7D_5FD06386F00A__INCLUDED_)
#define AFX_LAYPARAMPAGE_H__EC813319_E2E5_4802_BC7D_5FD06386F00A__INCLUDED_

#if _MSC_VER > 1000
#pragma once
#endif // _MSC_VER > 1000
// LayParamPage.h : header file
#include "../Param/LayParam.h"
#include "../resource.h"
#include "../MotionControlSoftwareDoc.h"
//

/////////////////////////////////////////////////////////////////////////////
// CLayParamPage dialog

class CLayParamPage : public CDialogEx
{
	DECLARE_DYNCREATE(CLayParamPage)

// Construction
public:
	CMotionControlSoftwareDoc* m_pDoc;
	int ShowLayParam(int iNO);
	bool UpdateDoc();
	CLayParamPage();
	~CLayParamPage();

	bool m_bAddListCol;

public:
	int m_iLayNum;

// Dialog Data
	//{{AFX_DATA(CLayParamPage)
	enum { IDD = IDD_DLG_LAYPARAMSET };
	CComboBox	m_comboxNLightFW;
	CListCtrl	m_LayList;
	//}}AFX_DATA


// Overrides
	// ClassWizard generate virtual function overrides
	//{{AFX_VIRTUAL(CLayParamPage)
	protected:
	virtual void DoDataExchange(CDataExchange* pDX);    // DDX/DDV support
	//}}AFX_VIRTUAL
public:
	virtual BOOL PreTranslateMessage(MSG* pMsg);

// Implementation
protected:
	// Generated message map functions
	//{{AFX_MSG(CLayParamPage)
	virtual BOOL OnInitDialog();
	afx_msg void OnClickListLaylist(NMHDR* pNMHDR, LRESULT* pResult);
	afx_msg void OnChangeEditAcc();
	afx_msg void OnChangeEditAcccorner();
	afx_msg void OnChangeEditMinspeed();
	afx_msg void OnChangeEditMaxspeed();
	afx_msg void OnChangeEditPower();
	afx_msg void OnChangeEditFrequency();
	afx_msg void OnChangeEditWidth();
	afx_msg void OnChangeEditLeadindelay();
	afx_msg void OnChangeEditLeadoutdelay();
	afx_msg void OnChangeEditLaserOndelay();
	afx_msg void OnChangeEditLaserOffdelay();
	afx_msg void OnChangeEditGasOndelay();
	afx_msg void OnChangeEditGasOffdelay();
	afx_msg void OnChangeEditEmptySpeed();
	afx_msg void OnChangeEditEmptyAcc();
	afx_msg void OnSelchangeCOMBONLightFW();
	afx_msg LRESULT UpdateActiveDoc(WPARAM wParam, LPARAM lParam);
	afx_msg void OnDBClickListLayList(NMHDR* pNMHDR, LRESULT* pResult);

	//}}AFX_MSG
	DECLARE_MESSAGE_MAP()

public:
	afx_msg void OnShowWindow(BOOL bShow, UINT nStatus);
//	afx_msg void OnActivate(UINT nState, CWnd* pWndOther, BOOL bMinimized);
};

//{{AFX_INSERT_LOCATION}}
// Microsoft Visual C++ will insert additional declarations immediately before the previous line.

#endif // !defined(AFX_LAYPARAMPAGE_H__EC813319_E2E5_4802_BC7D_5FD06386F00A__INCLUDED_)
